package face.pay.entity;


public class CpnCardDetailInfo {

    private Long id;

    private Integer oemId;

    /**
     * FACE 支付商家用户ID
     */
    private Integer userId;

    /**
     * 优惠券
     *
     */
    private Long cpnCardId;

    /**
     * 微信卡券ID
     */
    private String wxCardId;


    /**
     * 制卷平台 openid
     */
    private String  centerOpenId;


    /**
     * 支付服务商 openid
     */
    private String  oemOpenId;

    /**
     * 微信优惠券code
     */
    private String code;

    /**
     * 兑换码
     */
    private String cpnCode;

    /**
     * 商家实时服务费信息
     */
    private Double mchFee;

    /**
     *
     */
    private Double marketFee;



    /**
     * oem 利润
     */
    private Double oemFee;


    /**
     * 制券平台 利润
     */
    private Double cpnFee;



    /**
     * 投放平台ID
     */
    private Integer marketId;

    /**
     * 优惠券子商户号
     */
    private Integer merchant_id;

    /**
     * 0  待兑换
     * 1 已领取
     * 2 已使用
     * 3 已核销
     */
    private Integer status;

    /**
     * 投放平台业务编码
     */
    private String bizCode;

    /**
     * 核销时 关联的订单号Id
     */
    private Long orderId;



    private String convertUrl;


    /**
     * 创建时间
     */
    private String createdTime;


    /**
     * 领取时间
     */
    private String convertTime;


    /**
     * 使用时间
     */
    private String usedTime;

    /**
     * 核销时间
     */
    private String  consumeTime;

    /**
     * 多久之后 不兑换失效时间
     */
    private String loseTime;

    /**
     * 优惠券 使用失效时间
     */
    private String endTime;


    public CpnCardDetailInfo() {
    }

    public CpnCardDetailInfo(Integer oemId, Integer userId, Long cpnCardId, String cpnCode, Integer marketId, Integer merchant_id, Integer status, String bizCode) {
        this.oemId = oemId;
        this.userId = userId;
        this.cpnCardId = cpnCardId;
        this.cpnCode = cpnCode;
        this.marketId = marketId;
        this.merchant_id = merchant_id;
        this.status = status;
        this.bizCode = bizCode;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getOemId() {
        return oemId;
    }

    public void setOemId(Integer oemId) {
        this.oemId = oemId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getCpnCardId() {
        return cpnCardId;
    }

    public void setCpnCardId(Long cpnCardId) {
        this.cpnCardId = cpnCardId;
    }

    public String getCenterOpenId() {
        return centerOpenId;
    }

    public void setCenterOpenId(String centerOpenId) {
        this.centerOpenId = centerOpenId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCpnCode() {
        return cpnCode;
    }

    public void setCpnCode(String cpnCode) {
        this.cpnCode = cpnCode;
    }

    public Integer getMarketId() {
        return marketId;
    }

    public void setMarketId(Integer marketId) {
        this.marketId = marketId;
    }

    public Integer getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(Integer merchant_id) {
        this.merchant_id = merchant_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBizCode() {
        return bizCode;
    }

    public void setBizCode(String bizCode) {
        this.bizCode = bizCode;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getConvertTime() {
        return convertTime;
    }

    public void setConvertTime(String convertTime) {
        this.convertTime = convertTime;
    }

    public String getConvertUrl() {
        return convertUrl;
    }

    public void setConvertUrl(String convertUrl) {
        this.convertUrl = convertUrl;
    }

    public String getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(String usedTime) {
        this.usedTime = usedTime;
    }

    public String getOemOpenId() {
        return oemOpenId;
    }

    public void setOemOpenId(String oemOpenId) {
        this.oemOpenId = oemOpenId;
    }

    public Double getMchFee() {
        return mchFee;
    }

    public void setMchFee(Double mchFee) {
        this.mchFee = mchFee;
    }

    public Double getOemFee() {
        return oemFee;
    }

    public void setOemFee(Double oemFee) {
        this.oemFee = oemFee;
    }

    public Double getCpnFee() {
        return cpnFee;
    }

    public void setCpnFee(Double cpnFee) {
        this.cpnFee = cpnFee;
    }

    public String getLoseTime() {
        return loseTime;
    }

    public void setLoseTime(String loseTime) {
        this.loseTime = loseTime;
    }

    public String getWxCardId() {
        return wxCardId;
    }

    public void setWxCardId(String wxCardId) {
        this.wxCardId = wxCardId;
    }

    public String getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(String consumeTime) {
        this.consumeTime = consumeTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }


    public Double getMarketFee() {
        return marketFee;
    }

    public void setMarketFee(Double marketFee) {
        this.marketFee = marketFee;
    }
}
